import os
from multiprocessing import Process


def run_proc(name):
    print("Process %s start....name:%s"% (os.getpid(),name))

if __name__=='__main__':
    print("ProcessId:%s"%os.getpid())
    p = Process(target=run_proc,args=('test',))
    print("child Process start")
    p.start()
    p.join()
    print("child end")